﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using KPIS.GERP.GIMS.MODEL;
using KPIS.GERP.GIMS.DAL;
using KPIS.GERP.GIMS.DALFactory;
using KPIS.DBM;

namespace KPIS.GERP.GIMS.BLL
{
    public class SysReportDataTableBLL
    {
        private static readonly SysReportDataTableDAL dal = DataAccess.CreateSysReportDataTable();

        public string GetPurchaseRequestApproveItemWinner(int seq)
        {
            return dal.GetPurchaseRequestApproveItemWinner(seq);
        }

        public string GetPurchaseRequestApproveItemList(int seq)
        {
            return dal.GetPurchaseRequestApproveItemList(seq);
        }

        public string GetPurchaseOrderNetAmount(int seq)
        {
            return dal.GetPurchaseOrderNetAmount(seq);
        }

        public string GetPurchaseOrderPenalty(int seq)
        {
            return dal.GetPurchaseOrderPenalty(seq);
        }

        public string GetPurchaseOrderDate(int seq)
        {
            return dal.GetPurchaseOrderDate(seq);
        }

        public string[] GetPurchaseRequestDate(int seq)
        {
            return dal.GetPurchaseRequestDate(seq);
        }

        public string[] GetDeliveryNoteDate(int seq)
        {
            return dal.GetDeliveryNoteDate(seq);
        }

        public string[] GetDeliveryNoteReceiveItem(int seq)
        {
            return dal.GetDeliveryNoteReceiveItem(seq);
        }

        public DataTable GetPurchaseRequestApproveMain(int seq, string buy_descr, string win_descr)
        {
            return dal.GetPurchaseRequestApproveMain(seq, buy_descr, win_descr);
        }

        public DataTable GetPurchaseRequestApproveItem(int seq)
        {
            return dal.GetPurchaseRequestApproveItem(seq);
        }

        public DataTable GetPurchaseRequestApproveBidderItem(int seq)
        {
            return dal.GetPurchaseRequestApproveBidderItem(seq);
        }

        public DataTable GetPurchaseRequestApproveCommittee(int seq)
        {
            return dal.GetPurchaseRequestApproveCommittee(seq);
        }

        public DataTable GetPurchaseOrderApproveMain(int seq)
        {
            return dal.GetPurchaseOrderApproveMain(seq);
        }

        public DataTable GetDeliveryNoteApproveMain(int seq, string strQuoDescr, string strDnDescr)
        {
            return dal.GetDeliveryNoteApproveMain(seq, strQuoDescr, strDnDescr);
        }

        public DataTable GetDeliveryNoteCommittee(int seq)
        {
            return dal.GetDeliveryNoteCommittee(seq);
        }
    }
}
